import {
	http
} from '@/utils/http.js'
/**
 * 注册
 */
export const registerApi = (data) => {
	return http({
		url: `/register?phone=${data.phone}&password=${data.password}&code=${data.code}`,
		method: 'POST'
	})
}